package org.iks.gfs.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.iks.gfs.business.entity.GfsChunkFileEntity;

import java.util.List;

/**
 * Author kzou
 * Date 2024/4/6
 * Description:
 */
@Mapper
public interface GfsChunkFileMapper extends BaseMapper<GfsChunkFileEntity> {

    @Select("select * from gfs_chunk_file where file_id=#{gfsFileId}}")
    List<GfsChunkFileEntity> queryFileChunkFiles(Integer gfsFileId);

}
